
#include "SWAP.h"


void SWAP::swap(float *ptr_x, float *ptr_y)
{
	float h;
	h=*ptr_x;
	*ptr_x=*ptr_y;
	*ptr_y=h;

	cout << ptr_x << "," << ptr_y << endl;

}

void SWAP::swap(float &x, float &y)
{
	float h;
	h=x;
	x=y;
	y=h;

	cout << x << "," << y << endl;
}